return datetime as a unix timestamp in after json serialize. removed string to datetime conversion in active_record