adjusted post call to ajax with content type json and stringified json

@annatonger