Fixed datetime not JSON serializable error effecting lms