Updated RPi blue server to use json