JSON parsing/serialisation for Lists.