Change data return format for post funcs