_testData=[{
    "module": {
        "changeDate": "20150831033005",
        "changeUser": "system",
        "includeClosedPushDowns": true,
        "moduleTCcanCloseRecords": false,
        "moduleTCorder": 0,
        "moduleTCcanRequestHistory": false,
        "moduleTChasRecordsTodo": false,
        "moduleTChistoric": false,
        "type": "ENTITY",
        "id": 58,
        "name": "CRM",
        "recordNameSingular": "CRM",
        "recordNamePlural": "CRM",
        "enabled": true,
        "triggersGovernance": false,
        "canAdd": "NONE",
        "canEdit": false,
        "canDelete": false,
        "hasSummary": false,
        "showOnProjects": false,
        "headerFields": [
            {
                "attribute_id": -1,
                "isLinkedToDecision": false,
                "uuid": "c0a45b30-ea2f-4051-be74-9b4adcd7cb43",
                "id": 1444,
                "text": "Address 1",
                "type": "TEXT",
                "minLength": 0,
                "maxLength": 255,
                "decimalPlaces": 0,
                "dateRestrictions": 0,
                "minPhotos": 0,
                "maxPhotos": 0,
                "ammEditable": true,
                "ammCompulsory": false,
                "ammVisible": true,
                "amoEditable": true,
                "amoCompulsory": true,
                "amoVisible": true,
                "options": [],
                "expression": "",
                "decisions": [],
                "showOnPdf": false,
                "ammPushValueDown": true,
                "order": 1,
                "score": 0,
                "defaultValue": "",
                "defaultValueImageNamepath": "",
                "changeDate": 1440984607170,
                "changeUser": "system",
                "minScore": 0,
                "uniqueExpressionVariables": [],
                "expressionAsString": ""
            },
            {
                "attribute_id": -1,
                "isLinkedToDecision": false,
                "uuid": "1cccf4df-4c7d-404f-b5b2-9f8d5c392344",
                "id": 1445,
                "text": "Address 2",
                "type": "TEXT",
                "minLength": 0,
                "maxLength": 255,
                "decimalPlaces": 0,
                "dateRestrictions": 0,
                "minPhotos": 0,
                "maxPhotos": 0,
                "ammEditable": true,
                "ammCompulsory": false,
                "ammVisible": true,
                "amoEditable": true,
                "amoCompulsory": true,
                "amoVisible": true,
                "options": [],
                "expression": "",
                "decisions": [],
                "showOnPdf": false,
                "ammPushValueDown": true,
                "order": 2,
                "score": 0,
                "defaultValue": "",
                "defaultValueImageNamepath": "",
                "changeDate": 1440984607170,
                "changeUser": "system",
                "minScore": 0,
                "uniqueExpressionVariables": [],
                "expressionAsString": ""
            },
            {
                "attribute_id": -1,
                "isLinkedToDecision": false,
                "uuid": "68e29f6f-b5dd-4aca-b7c5-951b9d36f42b",
                "id": 1446,
                "text": "Post Code",
                "type": "TEXT",
                "minLength": 0,
                "maxLength": 255,
                "decimalPlaces": 0,
                "dateRestrictions": 0,
                "minPhotos": 0,
                "maxPhotos": 0,
                "ammEditable": true,
                "ammCompulsory": false,
                "ammVisible": true,
                "amoEditable": true,
                "amoCompulsory": true,
                "amoVisible": true,
                "options": [],
                "expression": "",
                "decisions": [],
                "showOnPdf": false,
                "ammPushValueDown": true,
                "order": 3,
                "score": 0,
                "defaultValue": "",
                "defaultValueImageNamepath": "",
                "changeDate": 1440984607170,
                "changeUser": "system",
                "minScore": 0,
                "uniqueExpressionVariables": [],
                "expressionAsString": ""
            },
            {
                "attribute_id": -1,
                "isLinkedToDecision": false,
                "uuid": "b8e9634a-fe8d-4702-b008-d73659c8dc27",
                "id": 1447,
                "text": "Store Manager",
                "type": "TEXT",
                "minLength": 0,
                "maxLength": 255,
                "decimalPlaces": 0,
                "dateRestrictions": 0,
                "minPhotos": 0,
                "maxPhotos": 0,
                "ammEditable": true,
                "ammCompulsory": false,
                "ammVisible": true,
                "amoEditable": true,
                "amoCompulsory": true,
                "amoVisible": true,
                "options": [],
                "expression": "",
                "decisions": [],
                "showOnPdf": false,
                "ammPushValueDown": true,
                "order": 4,
                "score": 0,
                "defaultValue": "",
                "defaultValueImageNamepath": "",
                "changeDate": 1440984607170,
                "changeUser": "system",
                "minScore": 0,
                "uniqueExpressionVariables": [],
                "expressionAsString": ""
            },
            {
                "attribute_id": -1,
                "isLinkedToDecision": false,
                "uuid": "a2a1b228-d2bb-4156-8821-1a0471256c3c",
                "id": 1448,
                "text": "Product Manager",
                "type": "TEXT",
                "minLength": 0,
                "maxLength": 255,
                "decimalPlaces": 0,
                "dateRestrictions": 0,
                "minPhotos": 0,
                "maxPhotos": 0,
                "ammEditable": true,
                "ammCompulsory": false,
                "ammVisible": true,
                "amoEditable": true,
                "amoCompulsory": true,
                "amoVisible": true,
                "options": [],
                "expression": "",
                "decisions": [],
                "showOnPdf": false,
                "ammPushValueDown": true,
                "order": 5,
                "score": 0,
                "defaultValue": "",
                "defaultValueImageNamepath": "",
                "changeDate": 1440984607170,
                "changeUser": "system",
                "minScore": 0,
                "uniqueExpressionVariables": [],
                "expressionAsString": ""
            },
            {
                "attribute_id": -1,
                "isLinkedToDecision": false,
                "uuid": "081cd891-051c-428e-91a2-c7d6b9c6ae01",
                "id": 1449,
                "text": "Area Manager",
                "type": "TEXT",
                "minLength": 0,
                "maxLength": 255,
                "decimalPlaces": 0,
                "dateRestrictions": 0,
                "minPhotos": 0,
                "maxPhotos": 0,
                "ammEditable": true,
                "ammCompulsory": false,
                "ammVisible": true,
                "amoEditable": true,
                "amoCompulsory": true,
                "amoVisible": true,
                "options": [],
                "expression": "",
                "decisions": [],
                "showOnPdf": false,
                "ammPushValueDown": true,
                "order": 6,
                "score": 0,
                "defaultValue": "",
                "defaultValueImageNamepath": "",
                "changeDate": 1440984607170,
                "changeUser": "system",
                "minScore": 0,
                "uniqueExpressionVariables": [],
                "expressionAsString": ""
            },
            {
                "attribute_id": -1,
                "isLinkedToDecision": false,
                "uuid": "f77fbbe8-e5f1-4762-8e43-10449b81ea19",
                "id": 1450,
                "text": "Channel Type",
                "type": "TEXT",
                "minLength": 0,
                "maxLength": 255,
                "decimalPlaces": 0,
                "dateRestrictions": 0,
                "minPhotos": 0,
                "maxPhotos": 0,
                "ammEditable": true,
                "ammCompulsory": false,
                "ammVisible": true,
                "amoEditable": true,
                "amoCompulsory": true,
                "amoVisible": true,
                "options": [],
                "expression": "",
                "decisions": [],
                "showOnPdf": false,
                "ammPushValueDown": true,
                "order": 7,
                "score": 0,
                "defaultValue": "",
                "defaultValueImageNamepath": "",
                "changeDate": 1440984607170,
                "changeUser": "system",
                "minScore": 0,
                "uniqueExpressionVariables": [],
                "expressionAsString": ""
            },
            {
                "attribute_id": -1,
                "isLinkedToDecision": false,
                "uuid": "ac6c647c-a5fc-4b23-a840-f980c05d97f5",
                "id": 1451,
                "text": "Telephone",
                "type": "TEXT",
                "minLength": 0,
                "maxLength": 255,
                "decimalPlaces": 0,
                "dateRestrictions": 0,
                "minPhotos": 0,
                "maxPhotos": 0,
                "ammEditable": true,
                "ammCompulsory": false,
                "ammVisible": true,
                "amoEditable": true,
                "amoCompulsory": true,
                "amoVisible": true,
                "options": [],
                "expression": "",
                "decisions": [],
                "showOnPdf": false,
                "ammPushValueDown": true,
                "order": 8,
                "score": 0,
                "defaultValue": "",
                "defaultValueImageNamepath": "",
                "changeDate": 1440984607170,
                "changeUser": "system",
                "minScore": 0,
                "uniqueExpressionVariables": [],
                "expressionAsString": ""
            },
            {
                "attribute_id": -1,
                "isLinkedToDecision": false,
                "uuid": "1fd73a7e-728a-465f-bc17-710fd34aa1c9",
                "id": 1452,
                "text": "Fax",
                "type": "TEXT",
                "minLength": 0,
                "maxLength": 255,
                "decimalPlaces": 0,
                "dateRestrictions": 0,
                "minPhotos": 0,
                "maxPhotos": 0,
                "ammEditable": true,
                "ammCompulsory": false,
                "ammVisible": true,
                "amoEditable": true,
                "amoCompulsory": true,
                "amoVisible": true,
                "options": [],
                "expression": "",
                "decisions": [],
                "showOnPdf": false,
                "ammPushValueDown": true,
                "order": 9,
                "score": 0,
                "defaultValue": "",
                "defaultValueImageNamepath": "",
                "changeDate": 1440984607170,
                "changeUser": "system",
                "minScore": 0,
                "uniqueExpressionVariables": [],
                "expressionAsString": ""
            },
            {
                "attribute_id": -1,
                "isLinkedToDecision": false,
                "uuid": "9a59f509-5401-468b-860b-fc9104b3a2e6",
                "id": 1453,
                "text": "Email",
                "type": "TEXT",
                "minLength": 0,
                "maxLength": 255,
                "decimalPlaces": 0,
                "dateRestrictions": 0,
                "minPhotos": 0,
                "maxPhotos": 0,
                "ammEditable": true,
                "ammCompulsory": false,
                "ammVisible": true,
                "amoEditable": true,
                "amoCompulsory": true,
                "amoVisible": true,
                "options": [],
                "expression": "",
                "decisions": [],
                "showOnPdf": false,
                "ammPushValueDown": true,
                "order": 10,
                "score": 0,
                "defaultValue": "",
                "defaultValueImageNamepath": "",
                "changeDate": 1440984607170,
                "changeUser": "system",
                "minScore": 0,
                "uniqueExpressionVariables": [],
                "expressionAsString": ""
            },
            {
                "attribute_id": -1,
                "isLinkedToDecision": false,
                "uuid": "3f35ede4-6116-48d1-8bd4-4ea519c9cc2b",
                "id": 1454,
                "text": "Comments",
                "type": "TEXT",
                "minLength": 0,
                "maxLength": 255,
                "decimalPlaces": 0,
                "dateRestrictions": 0,
                "minPhotos": 0,
                "maxPhotos": 0,
                "ammEditable": true,
                "ammCompulsory": false,
                "ammVisible": true,
                "amoEditable": true,
                "amoCompulsory": true,
                "amoVisible": true,
                "options": [],
                "expression": "",
                "decisions": [],
                "showOnPdf": false,
                "ammPushValueDown": true,
                "order": 11,
                "score": 0,
                "defaultValue": "",
                "defaultValueImageNamepath": "",
                "changeDate": 1440984607170,
                "changeUser": "system",
                "minScore": 0,
                "uniqueExpressionVariables": [],
                "expressionAsString": ""
            }
        ],
        "footerFields": [],
        "lineFields": [],
        "version": "20141028090811",
        "pushDownRecords": {
            "compulsary": false,
            "canEdit": true,
            "canCopy": false,
            "manualRequest": false,
            "includePhotos": false,
            "includeSignatures": false,
            "autoPushCount": 1,
            "autoCreate": true,
            "uploadBehaviour": "OVERWRITE",
            "keepOnDevice": true,
            "overlayUsingLatestModuleSetup": true,
            "pushDownsUseLatestItemsOnProject": false,
            "pushDownActivatesBasedOnProject": false,
            "recordAssignment": "ENTITY_LEVEL",
            "verifyItemData": false,
            "makeCompletedRecordsAsTodo": true,
            "includeInEntityScore": false,
            "changeDate": 1440984605809,
            "changeUser": "system"
        },
        "disableZeroStock": false,
        "displayStock": false,
        "displayPrice": false,
        "sortBy": "name",
        "sortMethod": "asc",
        "notificationsContainZeroValues": true,
        "overlayProjectItems": false,
        "code": "",
        "profiles": [],
        "iconId": 1,
        "notifyOnChange": true,
        "visible": true,
        "maxScore": 0,
        "showScoreOnDevice": false,
        "showScoreOnNotification": false,
        "showOnDeviceScoreSummary": false,
        "state": "ACTIVE",
        "score": 0,
        "systemModule": false,
        "minScore": 0,
        "duplicateFieldnames": {},
        "errorsOnConfig": {},
        "workflowModules": []
    },
    "client": "",
    "location": "",
    "entity": "8 SKAG KANTEEN",
    "entityCode": "0000024063",
    "user": "allan",
    "id": -1,
    "captureDate": "",
    "clientNoun": "Client",
    "locationNoun": "Territory",
    "capturedOnLabel": "Finished",
    "capturedByLabel": "Captured By",
    "capturedAtLabel": "Captured At",
    "labelItemCode": "Bar Code",
    "labelItemAltCode": "Supplier Code",
    "labelItemDescription": "Item Description",
    "distributionGroupNoun": "Warehouse",
    "distributionGroupCode": "",
    "distributionGroup": "",
    "distributionGroupId": 0,
    "entityNoun": "Store",
    "capturedStartDateLabel": "Started",
    "captureStartDate": null,
    "capturedTimeTakenLabel": "Time taken",
    "uploadDateLabel": "Uploaded",
    "uploadDate": null,
    "entityId": 27975,
    "userId": 46,
    "showAltCodes": false,
    "lines": [],
    "timeTaken": 0,
    "timeTakenAsString": "0 min 0 seconds",
    "ignoreOnNotifications": false,
    "ignoreOnExporters": false,
    "visitId": -1,
    "clientId": 0,
    "clientCode": "",
    "locationCode": "",
    "userCode": "allan",
    "locationId": 0,
    "name": "CRM : 0",
    "externalReference": "",
    "behaviour": "OVERWRITE",
    "isEditableOnDevice": true,
    "isRemovableOnDevice": false,
    "isDatasourceOnDevice": true,
    "visit": null,
    "projectId": -1,
    "gpsData": null,
    "instructionId": -1,
    "groupItemsIntoOneCategory": false,
    "startDate": null,
    "endDate": null,
    "closed": true,
    "captureEndDate": null,
    "compulsory": false,
    "copyType": "NONE",
    "overlayItemsFromProjects": false,
    "originalMobileRecordInstanceId": -2,
    "status": 1,
    "createType": "UNKNOWN",
    "sequenceId": -1,
    "score": 0,
    "maxScore": 0,
    "originalMaxScore": 0,
    "showScore": false,
    "showOnEntityScore": false,
    "moduleRecordTcInstanceId": -2,
    "moduleRecordTcKeepOnDevice": true,
    "moduleRecordTcIsHistoric": false,
    "moduleId": 58,
    "moduleVersion": "20141028090811",
    "changeDate": "20150831093104",
    "changeUser": "system",
    "clientIdForAltCodes": 0,
    "footerAnswers": [],
    "headerAnswers": [
        {
            "name": "Address 1",
            "type": "TEXT",
            "value": "",
            "photo1Path": null,
            "photo2Path": null,
            "photo3Path": null,
            "photo4Path": null,
            "photo1Rotation": 0,
            "photo2Rotation": 0,
            "photo3Rotation": 0,
            "photo4Rotation": 0,
            "photo1Data": "",
            "photo2Data": "",
            "photo3Data": "",
            "photo4Data": "",
            "fieldId": 1444,
            "signatureData": "",
            "answerRowId": 0,
            "score": 0,
            "optionId": 0,
            "decisionId": 0,
            "behaviour": 0,
            "images": [],
            "changeDate": "20150831093104",
            "changeUser": "system",
            "number": 1444
        },
        {
            "name": "Address 2",
            "type": "TEXT",
            "value": "",
            "photo1Path": null,
            "photo2Path": null,
            "photo3Path": null,
            "photo4Path": null,
            "photo1Rotation": 0,
            "photo2Rotation": 0,
            "photo3Rotation": 0,
            "photo4Rotation": 0,
            "photo1Data": "",
            "photo2Data": "",
            "photo3Data": "",
            "photo4Data": "",
            "fieldId": 1445,
            "signatureData": "",
            "answerRowId": 0,
            "score": 0,
            "optionId": 0,
            "decisionId": 0,
            "behaviour": 0,
            "images": [],
            "changeDate": "20150831093104",
            "changeUser": "system",
            "number": 1445
        },
        {
            "name": "Post Code",
            "type": "TEXT",
            "value": "",
            "photo1Path": null,
            "photo2Path": null,
            "photo3Path": null,
            "photo4Path": null,
            "photo1Rotation": 0,
            "photo2Rotation": 0,
            "photo3Rotation": 0,
            "photo4Rotation": 0,
            "photo1Data": "",
            "photo2Data": "",
            "photo3Data": "",
            "photo4Data": "",
            "fieldId": 1446,
            "signatureData": "",
            "answerRowId": 0,
            "score": 0,
            "optionId": 0,
            "decisionId": 0,
            "behaviour": 0,
            "images": [],
            "changeDate": "20150831093104",
            "changeUser": "system",
            "number": 1446
        },
        {
            "name": "Store Manager",
            "type": "TEXT",
            "value": "",
            "photo1Path": null,
            "photo2Path": null,
            "photo3Path": null,
            "photo4Path": null,
            "photo1Rotation": 0,
            "photo2Rotation": 0,
            "photo3Rotation": 0,
            "photo4Rotation": 0,
            "photo1Data": "",
            "photo2Data": "",
            "photo3Data": "",
            "photo4Data": "",
            "fieldId": 1447,
            "signatureData": "",
            "answerRowId": 0,
            "score": 0,
            "optionId": 0,
            "decisionId": 0,
            "behaviour": 0,
            "images": [],
            "changeDate": "20150831093104",
            "changeUser": "system",
            "number": 1447
        },
        {
            "name": "Product Manager",
            "type": "TEXT",
            "value": "",
            "photo1Path": null,
            "photo2Path": null,
            "photo3Path": null,
            "photo4Path": null,
            "photo1Rotation": 0,
            "photo2Rotation": 0,
            "photo3Rotation": 0,
            "photo4Rotation": 0,
            "photo1Data": "",
            "photo2Data": "",
            "photo3Data": "",
            "photo4Data": "",
            "fieldId": 1448,
            "signatureData": "",
            "answerRowId": 0,
            "score": 0,
            "optionId": 0,
            "decisionId": 0,
            "behaviour": 0,
            "images": [],
            "changeDate": "20150831093104",
            "changeUser": "system",
            "number": 1448
        },
        {
            "name": "Area Manager",
            "type": "TEXT",
            "value": "",
            "photo1Path": null,
            "photo2Path": null,
            "photo3Path": null,
            "photo4Path": null,
            "photo1Rotation": 0,
            "photo2Rotation": 0,
            "photo3Rotation": 0,
            "photo4Rotation": 0,
            "photo1Data": "",
            "photo2Data": "",
            "photo3Data": "",
            "photo4Data": "",
            "fieldId": 1449,
            "signatureData": "",
            "answerRowId": 0,
            "score": 0,
            "optionId": 0,
            "decisionId": 0,
            "behaviour": 0,
            "images": [],
            "changeDate": "20150831093104",
            "changeUser": "system",
            "number": 1449
        },
        {
            "name": "Channel Type",
            "type": "TEXT",
            "value": "",
            "photo1Path": null,
            "photo2Path": null,
            "photo3Path": null,
            "photo4Path": null,
            "photo1Rotation": 0,
            "photo2Rotation": 0,
            "photo3Rotation": 0,
            "photo4Rotation": 0,
            "photo1Data": "",
            "photo2Data": "",
            "photo3Data": "",
            "photo4Data": "",
            "fieldId": 1450,
            "signatureData": "",
            "answerRowId": 0,
            "score": 0,
            "optionId": 0,
            "decisionId": 0,
            "behaviour": 0,
            "images": [],
            "changeDate": "20150831093104",
            "changeUser": "system",
            "number": 1450
        },
        {
            "name": "Telephone",
            "type": "TEXT",
            "value": "",
            "photo1Path": null,
            "photo2Path": null,
            "photo3Path": null,
            "photo4Path": null,
            "photo1Rotation": 0,
            "photo2Rotation": 0,
            "photo3Rotation": 0,
            "photo4Rotation": 0,
            "photo1Data": "",
            "photo2Data": "",
            "photo3Data": "",
            "photo4Data": "",
            "fieldId": 1451,
            "signatureData": "",
            "answerRowId": 0,
            "score": 0,
            "optionId": 0,
            "decisionId": 0,
            "behaviour": 0,
            "images": [],
            "changeDate": "20150831093104",
            "changeUser": "system",
            "number": 1451
        },
        {
            "name": "Fax",
            "type": "TEXT",
            "value": "",
            "photo1Path": null,
            "photo2Path": null,
            "photo3Path": null,
            "photo4Path": null,
            "photo1Rotation": 0,
            "photo2Rotation": 0,
            "photo3Rotation": 0,
            "photo4Rotation": 0,
            "photo1Data": "",
            "photo2Data": "",
            "photo3Data": "",
            "photo4Data": "",
            "fieldId": 1452,
            "signatureData": "",
            "answerRowId": 0,
            "score": 0,
            "optionId": 0,
            "decisionId": 0,
            "behaviour": 0,
            "images": [],
            "changeDate": "20150831093104",
            "changeUser": "system",
            "number": 1452
        },
        {
            "name": "Email",
            "type": "TEXT",
            "value": "",
            "photo1Path": null,
            "photo2Path": null,
            "photo3Path": null,
            "photo4Path": null,
            "photo1Rotation": 0,
            "photo2Rotation": 0,
            "photo3Rotation": 0,
            "photo4Rotation": 0,
            "photo1Data": "",
            "photo2Data": "",
            "photo3Data": "",
            "photo4Data": "",
            "fieldId": 1453,
            "signatureData": "",
            "answerRowId": 0,
            "score": 0,
            "optionId": 0,
            "decisionId": 0,
            "behaviour": 0,
            "images": [],
            "changeDate": "20150831093104",
            "changeUser": "system",
            "number": 1453
        },
        {
            "name": "Comments",
            "type": "TEXT",
            "value": "",
            "photo1Path": null,
            "photo2Path": null,
            "photo3Path": null,
            "photo4Path": null,
            "photo1Rotation": 0,
            "photo2Rotation": 0,
            "photo3Rotation": 0,
            "photo4Rotation": 0,
            "photo1Data": "",
            "photo2Data": "",
            "photo3Data": "",
            "photo4Data": "",
            "fieldId": 1454,
            "signatureData": "",
            "answerRowId": 0,
            "score": 0,
            "optionId": 0,
            "decisionId": 0,
            "behaviour": 0,
            "images": [],
            "changeDate": "20150831093104",
            "changeUser": "system",
            "number": 1454
        }
    ],
    "moduleName": "CRM",
    "captureEndDateAsString": "N/A"
}]
;;
