Only parse boolean for now, as parsing int causes expected behaviour