Added getRegistrationsAsJson