ObjectId objects are not JSON serializable