Fixed post ajax calls where data could not be passed to backend
if are not stringified