change json way and add joda-time dependency