Add integer datatype

It seems that both 'int' and 'integer' are used in resources files but when trying to use the client, the integer type is not recognised. This patch allows the client to correctly 'deserialize' integer values.