Change data type on http service calls