allow to deserialize a JSON encoded collection of statements