Changed page borders to use rem unit, also fixed bug in exported json (units were scaled when saving JSON data for each field).