Now returns json objects with content-type 'application/json'.
Stores action with created_at time.