Added type casting to API query code and adjusted
format_data() to process the rows and format
each field
Added seadapi user to postgres group in puppet config module