add option for bootstrapData to take JSON