Set json datatype for Ajax calls