Got json parsing to work and pass through the type as the mood